package com.compty.paint.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

/**
 * @Todo:绘画作品审核状态
 * @author: zhuqh
 * @CreateTime:2011-6-1 上午09:18:26
 */
@Entity
@Table(name = "t_audit_state")
@Cache(usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)
public class AuditState implements java.io.Serializable{
	
	private static final long serialVersionUID = 6231965459805150484L;

	private Long id;
	
	/************ 审核状态名称  ****************/
	private String name;
	
	/************英文名称  ****************/
	private String english_name;

	@Id
	@GeneratedValue
	@Column(name = "id", unique = true, nullable = false)
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name="name",nullable=false,length=40)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name="english_name",nullable=false,length=40)
	public String getEnglish_name() {
		return english_name;
	}

	public void setEnglish_name(String englishName) {
		english_name = englishName;
	}

}
